package com.ternnetwork.core.accesscontroll.enums.messages;

public enum UserMessages{
	
	FAILED_MESSAGE_NAME_ZH_CAN_NOT_BE_EMPTY(0,"操作失败,用户名不能为空!"),
	FAILED_MESSAGE_NAME_ZH_CAN_NOT_BE_DUPLICATE(1,"操作失败,用户名已经存在，请重新填写!"),
	FAILED_MESSAGE_EMAIL_CAN_NOT_BE_EMPTY(2,"操作失败,邮箱不能为空!"),
	FAILED_MESSAGE_EMAIL_WRONG_FORMAT(3,"操作失败,邮箱格式不正确!"),
	FAILED_MESSAGE_WECHAT_ID_CAN_NOT_BE_DUPLICATE(4,"操作失败,微信号已经存在，请重新填写!"),
	FAILED_MESSAGE_MOBILE_PHONE_NO_CAN_NOT_BE_EMPTY(5,"操作失败,邮箱不能为空!"),
	FAILED_MESSAGE_MOBILE_PHONE_NO_WRONG_FORMAT(6,"操作失败,邮箱格式不正确!"),
	FAILED_MESSAGE_OBJECT_CAN_NOT_BE_DELETED(7,"操作失败,该对像不可被删除!"),
	FAILED_MESSAGE_PASSWORD_CAN_NOT_BE_EMPTY(8,"操作失败,密码不为空!"),
	FAILED_MESSAGE_OLD_PASSWORD_IS_NOT_CORRECT(9,"操作失败,旧密码不正确!"),
	FAILED_MESSAGE_NEW_PASSWORD_IS_EQ_OLD_PASSWORD(10,"操作失败,旧密码与新密码不能相同!"),
	FAILED_MESSAGE_NEW_PASSWORD_IS_NOT_EQ_CONFIRM_NEW_PASSWORD(11,"操作失败,确认密码与新密码不同!"),
	FAILED_MESSAGE_PASSWORD_IS_NOT_EQ_CONFIRM_PASSWORD(12,"操作失败,确认密码与密码不同!");
	
	private  Integer index;
	
	private  String name;
	
    private UserMessages(int index, String name) {
		this.index = index;
		this.name = name;
	}

    public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

 

}
